package com.javasm.crm.service.sell.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.javasm.crm.domin.entity.sell.SellOrderGoods;
import com.javasm.crm.mapper.sell.SellOrderGoodsMapper;
import com.javasm.crm.service.sell.ISellOrderGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lqz
 * @since 2021-07-12
 */
@Service
public class SellOrderGoodsServiceImpl extends ServiceImpl<SellOrderGoodsMapper, SellOrderGoods> implements ISellOrderGoodsService {

    @Autowired
    private SellOrderGoodsMapper sellOrderGoodsMapper;

    @Override
    public List<SellOrderGoods> searchGoods(QueryWrapper<SellOrderGoods> SellOrderGoodsQueryWrapper) {
        return sellOrderGoodsMapper.selectList(SellOrderGoodsQueryWrapper);
    }
}
